package com.lhr.common.web;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;

public abstract class BaseHandlerInterceptorAdapter extends HandlerInterceptorAdapter {

	public boolean isAjax(HttpServletRequest request) {
		return request.getHeader("x-requested-with") != null;
	}

}
